Skip to content

chore: add optional title field to work item link models#32

Open
akhil-vamshi-konam wants to merge 2 commits intomainfrom
chore-update-work-item-link
Open

chore: add optional title field to work item link models#32
akhil-vamshi-konam wants to merge 2 commits intomainfrom
chore-update-work-item-link

Conversation

@akhil-vamshi-konam
Copy link
Copy Markdown

@akhil-vamshi-konam akhil-vamshi-konam commented Apr 29, 2026

Description

  • Add title: str | None = None to CreateWorkItemLink and UpdateWorkItemLink request models
  • Previously only url was accepted — any title passed by callers was silently dropped by Pydantic's extra="ignore" config.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

Screenshots and Media (if applicable)

Test Scenarios

References

Summary by CodeRabbit

  • New Features
    • Work item links can now include optional titles when creating or updating them.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 29, 2026

Warning

Rate limit exceeded

@akhil-vamshi-konam has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 32 minutes and 57 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 23d346c3-cb05-4170-873c-763d2395f059

📥 Commits

Reviewing files that changed from the base of the PR and between 9390a85 and 49e0a95.

📒 Files selected for processing (1)
  • tests/unit/test_work_items.py
📝 Walkthrough

Walkthrough

Two work item link request models are extended with an optional title field. CreateWorkItemLink and UpdateWorkItemLink now each include a title: str | None = None parameter alongside existing fields.

Changes

Cohort / File(s) Summary
Work Item Link Models
plane/models/work_items.py
Added optional title field (str | None = None) to both CreateWorkItemLink and UpdateWorkItemLink models.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A title here, a title there,
Fields so fair, beyond compare!
Two simple lines, clean and bright,
Work item links, now more right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding an optional title field to work item link models, matching the changeset exactly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-update-work-item-link

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 32 minutes and 57 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant